package com.ruoyi.active.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.TreeEntity;

/**
 * 商品分类对象 tb_type
 * 
 * @author ruoyi
 * @date 2025-08-01
 */
public class TbType extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long typeId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String typeName;

    /** 分类图片 */
    @Excel(name = "分类图片")
    private String typeImage;

    /** 排序 */
    @Excel(name = "排序")
    private Long typeTop;

    /** 状态 */
    @Excel(name = "状态")
    private Long typeStatus;

    /** 父级ID */
    @Excel(name = "父级ID")
    private Long typePid;

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }

    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }

    public void setTypeImage(String typeImage) 
    {
        this.typeImage = typeImage;
    }

    public String getTypeImage() 
    {
        return typeImage;
    }

    public void setTypeTop(Long typeTop) 
    {
        this.typeTop = typeTop;
    }

    public Long getTypeTop() 
    {
        return typeTop;
    }

    public void setTypeStatus(Long typeStatus) 
    {
        this.typeStatus = typeStatus;
    }

    public Long getTypeStatus() 
    {
        return typeStatus;
    }

    public void setTypePid(Long typePid) 
    {
        this.typePid = typePid;
    }

    public Long getTypePid() 
    {
        return typePid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("typeId", getTypeId())
            .append("typeName", getTypeName())
            .append("typeImage", getTypeImage())
            .append("typeTop", getTypeTop())
            .append("typeStatus", getTypeStatus())
            .append("typePid", getTypePid())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
